package com.example.shixun.service;

import com.example.shixun.pojo.Post;
import com.example.shixun.utils.PageInfoUtil;

/**
 * @Author XDW
 * @Version 1.0
 * @date 2023/6/24 16:07
 */
public interface PostService {
    int savePost(Post post);
    int deletePostById(int id);
    Post selectPostById(int id);
    int updatePost(Post post);
    PageInfoUtil<Post> findAll(PageInfoUtil<Post> pageInfoUtil);
    public Integer addReplies(Integer id);
}
